Optimal. Leaf size=133 \[ \frac {b \sqrt {-1+c x} \sqrt {1+c x}}{6 c^3 d \left (d-c^2 d x^2\right )^{3/2}}+\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{3 d \left (d-c^2 d x^2\right )^{3/2}}+\frac {b \sqrt {-1+c x} \sqrt {1+c x} \log \left (1-c^2 x^2\right )}{6 c^3 d^2 \sqrt {d-c^2 d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 145, normalized size of antiderivative = 1.09, number of steps
used = 5, number of rules used = 4, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {5917, 74, 272,
45} \begin {gather*} \frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{3 d \left (d-c^2 d x^2\right )^{3/2}}+\frac {b \sqrt {c x-1} \sqrt {c x+1}}{6 c^3 d^2 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}+\frac {b \sqrt {c x-1} \sqrt {c x+1} \log \left (1-c^2 x^2\right )}{6 c^3 d^2 \sqrt {d-c^2 d x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 74
Rule 272
Rule 5917
Rubi steps
\begin {align*} \int \frac {x^2 \left (a+b \cosh ^{-1}(c x)\right )}{\left (d-c^2 d x^2\right )^{5/2}} \, dx &=\frac {\left (\sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {x^2 \left (a+b \cosh ^{-1}(c x)\right )}{(-1+c x)^{5/2} (1+c x)^{5/2}} \, dx}{d^2 \sqrt {d-c^2 d x^2}}\\ &=\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{3 d^2 (1-c x) (1+c x) \sqrt {d-c^2 d x^2}}+\frac {\left (b c \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {x^3}{\left (-1+c^2 x^2\right )^2} \, dx}{3 d^2 \sqrt {d-c^2 d x^2}}\\ &=\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{3 d^2 (1-c x) (1+c x) \sqrt {d-c^2 d x^2}}+\frac {\left (b c \sqrt {-1+c x} \sqrt {1+c x}\right ) \text {Subst}\left (\int \frac {x}{\left (-1+c^2 x\right )^2} \, dx,x,x^2\right )}{6 d^2 \sqrt {d-c^2 d x^2}}\\ &=\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{3 d^2 (1-c x) (1+c x) \sqrt {d-c^2 d x^2}}+\frac {\left (b c \sqrt {-1+c x} \sqrt {1+c x}\right ) \text {Subst}\left (\int \left (\frac {1}{c^2 \left (-1+c^2 x\right )^2}+\frac {1}{c^2 \left (-1+c^2 x\right )}\right ) \, dx,x,x^2\right )}{6 d^2 \sqrt {d-c^2 d x^2}}\\ &=\frac {b \sqrt {-1+c x} \sqrt {1+c x}}{6 c^3 d^2 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}+\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{3 d^2 (1-c x) (1+c x) \sqrt {d-c^2 d x^2}}+\frac {b \sqrt {-1+c x} \sqrt {1+c x} \log \left (1-c^2 x^2\right )}{6 c^3 d^2 \sqrt {d-c^2 d x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.14, size = 101, normalized size = 0.76 \begin {gather*} \frac {\sqrt {-1+c x} \sqrt {1+c x} \left (-\frac {2 x^3 \left (a+b \cosh ^{-1}(c x)\right )}{(-1+c x)^{3/2} (1+c x)^{3/2}}+\frac {b \left (\frac {1}{1-c^2 x^2}+\log \left (1-c^2 x^2\right )\right )}{c^3}\right )}{6 d^2 \sqrt {d-c^2 d x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1250\) vs.
\(2(113)=226\).
time = 7.24, size = 1251, normalized size = 9.41
method | result | size |
default | \(a \left (\frac {x}{2 c^{2} d \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}}-\frac {\frac {x}{3 d \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}}+\frac {2 x}{3 d^{2} \sqrt {-c^{2} d \,x^{2}+d}}}{2 c^{2}}\right )+\frac {2 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}\, \mathrm {arccosh}\left (c x \right )}{3 d^{3} c^{3} \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{3} \sqrt {c x +1}\, \mathrm {arccosh}\left (c x \right ) \sqrt {c x -1}\, x^{6}}{\left (3 c^{8} x^{8}-9 x^{6} c^{6}+10 c^{4} x^{4}-5 c^{2} x^{2}+1\right ) d^{3}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{4} \mathrm {arccosh}\left (c x \right ) x^{7}}{\left (3 c^{8} x^{8}-9 x^{6} c^{6}+10 c^{4} x^{4}-5 c^{2} x^{2}+1\right ) d^{3}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{2} \left (c x +1\right ) \left (c x -1\right ) x^{5}}{6 \left (3 c^{8} x^{8}-9 x^{6} c^{6}+10 c^{4} x^{4}-5 c^{2} x^{2}+1\right ) d^{3}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{4} x^{7}}{6 \left (3 c^{8} x^{8}-9 x^{6} c^{6}+10 c^{4} x^{4}-5 c^{2} x^{2}+1\right ) d^{3}}+\frac {2 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c \sqrt {c x +1}\, \mathrm {arccosh}\left (c x \right ) \sqrt {c x -1}\, x^{4}}{\left (3 c^{8} x^{8}-9 x^{6} c^{6}+10 c^{4} x^{4}-5 c^{2} x^{2}+1\right ) d^{3}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{2} \mathrm {arccosh}\left (c x \right ) x^{5}}{\left (3 c^{8} x^{8}-9 x^{6} c^{6}+10 c^{4} x^{4}-5 c^{2} x^{2}+1\right ) d^{3}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (c x +1\right ) \left (c x -1\right ) x^{3}}{6 \left (3 c^{8} x^{8}-9 x^{6} c^{6}+10 c^{4} x^{4}-5 c^{2} x^{2}+1\right ) d^{3}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c \sqrt {c x +1}\, \sqrt {c x -1}\, x^{4}}{2 \left (3 c^{8} x^{8}-9 x^{6} c^{6}+10 c^{4} x^{4}-5 c^{2} x^{2}+1\right ) d^{3}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{2} x^{5}}{3 \left (3 c^{8} x^{8}-9 x^{6} c^{6}+10 c^{4} x^{4}-5 c^{2} x^{2}+1\right ) d^{3}}-\frac {4 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x +1}\, \mathrm {arccosh}\left (c x \right ) \sqrt {c x -1}\, x^{2}}{3 \left (3 c^{8} x^{8}-9 x^{6} c^{6}+10 c^{4} x^{4}-5 c^{2} x^{2}+1\right ) c \,d^{3}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \mathrm {arccosh}\left (c x \right ) x^{3}}{3 \left (3 c^{8} x^{8}-9 x^{6} c^{6}+10 c^{4} x^{4}-5 c^{2} x^{2}+1\right ) d^{3}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x +1}\, \sqrt {c x -1}\, x^{2}}{2 \left (3 c^{8} x^{8}-9 x^{6} c^{6}+10 c^{4} x^{4}-5 c^{2} x^{2}+1\right ) c \,d^{3}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, x^{3}}{6 \left (3 c^{8} x^{8}-9 x^{6} c^{6}+10 c^{4} x^{4}-5 c^{2} x^{2}+1\right ) d^{3}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x +1}\, \mathrm {arccosh}\left (c x \right ) \sqrt {c x -1}}{3 \left (3 c^{8} x^{8}-9 x^{6} c^{6}+10 c^{4} x^{4}-5 c^{2} x^{2}+1\right ) c^{3} d^{3}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}}{6 \left (3 c^{8} x^{8}-9 x^{6} c^{6}+10 c^{4} x^{4}-5 c^{2} x^{2}+1\right ) c^{3} d^{3}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}\, \ln \left (\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}-1\right )}{3 d^{3} c^{3} \left (c^{2} x^{2}-1\right )}\) | \(1251\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 169, normalized size = 1.27 \begin {gather*} \frac {1}{6} \, b c {\left (\frac {\sqrt {-d}}{c^{6} d^{3} x^{2} - c^{4} d^{3}} - \frac {\sqrt {-d} \log \left (c x + 1\right )}{c^{4} d^{3}} - \frac {\sqrt {-d} \log \left (c x - 1\right )}{c^{4} d^{3}}\right )} - \frac {1}{3} \, b {\left (\frac {x}{\sqrt {-c^{2} d x^{2} + d} c^{2} d^{2}} - \frac {x}{{\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} c^{2} d}\right )} \operatorname {arcosh}\left (c x\right ) - \frac {1}{3} \, a {\left (\frac {x}{\sqrt {-c^{2} d x^{2} + d} c^{2} d^{2}} - \frac {x}{{\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} c^{2} d}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )}{\left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^2\,\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )}{{\left (d-c^2\,d\,x^2\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________